﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


using DatabaseCompare.Model;


namespace DatabaseCompare.Service.Compare
{


    public interface ICompareAbleCompare<T1, T2>
        where T1 : CompareAble
        where T2 : CompareAbleResult<T1>
    {

        /// <summary>
        /// 两个比较.
        /// </summary>
        /// <param name="left"></param>
        /// <param name="right"></param>
        /// <returns></returns>
        T2 Compare(T1 left, T1 right);

    }


}
